<div >
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
    <div class="col-sm-4" >
    <div class="form-group">
                                <select class="custom-select"  v-model="guideSubscribeManageInfo.conditions.wgId" >
                                    <option selected value="">请选择事项</option>
                                    <option v-for="(item,index) in guideSubscribeManageInfo.govGuides" :value="item.wgId">
                                        {{item.guideName}}
                                    </option>
                                </select>    
                            </div>                        </div><div class="col-sm-3" >
    <div class="form-group">
                                <input type="text" placeholder="请输入预约人" v-model="guideSubscribeManageInfo.conditions.person" class=" form-control">
                            </div>                        </div>
                            
                            <div class="col-sm-4">
                                <div class="form-group">
                                                                <input type="text" placeholder="请输入预约电话" v-model="guideSubscribeManageInfo.conditions.link" class=" form-control">
                                                            </div>                        </div>
                            
                            <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryGuideSubscribeMethod()">
                                    <i class="glyphicon glyphicon-search"></i> 查询
                            </button>
                        </div></div>


                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>预约报名信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddGuideSubscribeModal()">
                            <i class="glyphicon glyphicon-plus"></i>
                            添加预约
                        </button>
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny"
                           data-page-size="15"
                    >
                        <thead>
                        <tr>
                            <th class="text-center">事项名称</th>
                            <th class="text-center">预约人</th>
                            <th class="text-center">预约电话</th>
                            <th class="text-center">开始时间</th>
                            <th class="text-center">结束时间</th>
                            <th class="text-center">预约状态</th>
                            <th class="text-center">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="guideSubscribe in guideSubscribeManageInfo.guideSubscribes">
                            <td class="text-center">{{guideSubscribe.guideName}}</td>
                            <td class="text-center">{{guideSubscribe.person}}</td>
                            <td class="text-center">{{guideSubscribe.link}}</td>
                            <td class="text-center">{{guideSubscribe.startTime}}</td>
                            <td class="text-center">{{guideSubscribe.endTime}}</td>
                            <td class="text-center">{{guideSubscribe.state == 'C'?'预约成功':'预约失败'}}</td>
                            <td class="text-center"><div class="btn-group">
                                    <button class="btn-white btn btn-xs" v-on:click="_openEditGuideSubscribeModel(guideSubscribe)">修改</button>
                                </div>
                                <div class="btn-group">
                                    <button class="btn-white btn btn-xs" v-on:click="_openDeleteGuideSubscribeModel(guideSubscribe)">删除</button>
                                </div></td>

                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="7">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>

    

    <vc:create path="gov/addGuideSubscribe"
               callBackListener=""
               callBackFunction=""
    ></vc:create>
    <vc:create path="gov/editGuideSubscribe"></vc:create>
    <vc:create path="gov/deleteGuideSubscribe"></vc:create>

</div>
